// @author: caoshi
// @date: 2021-06-19 13:25
package viper_demo

type Mysql struct {
	Path         string `mapstructure:"path"`
	Config       string `mapstructure:"config"`
	Dbname       string `mapstructure:"db-name"`
	Username     string `mapstructure:"username"`
	Password     string `mapstructure:"password"`
	MaxIdleConns int    `mapstructure:"max-idle-conns"`
	MaxOpenConns int    `mapstructure:"max-open-conns"`
	LogMode      bool   `mapstructure:"log-mode"`
}
